.layui-laypage {
    display: inline-block;
    margin: 10px 0;
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
}
.layui-box, .layui-box * {
    box-sizing: content-box;
}
.layui-laypage>a:first-child, .layui-laypage>a:first-child em {
    border-radius: 2px 0 0 2px;
}

.layui-laypage>:first-child {
    margin-left: 0!important;
}
.layui-laypage a {
    text-decoration: none;
}
.layui-laypage a:hover{
    color:#fff;
    background-color:  #CC0001;
    border: 1px solid  #CC0001;
}
.layui-laypage-btn:hover{
    color:#fff;
    background-color:  #CC0001;
    border: 1px solid  #CC0001;
}
.layui-laypage a, .layui-laypage span {
    vertical-align: middle;
    padding: 0 6px;
    height: 28px;
    line-height: 28px;
    background-color: #fff;
    color: #333;
    font-size: 14px;
}
.layui-laypage a, .layui-laypage button, .layui-laypage input, .layui-laypage select, .layui-laypage span {
    border: 1px solid #e2e2e2;
}
.layui-disabled, .layui-disabled:hover {
    color: #d2d2d2!important;
    cursor: not-allowed!important;
}
.layui-box, .layui-box * {
    box-sizing: content-box;
}
.layui-laypage .layui-laypage-curr {
    position: relative;
}
.layui-laypage .layui-laypage-curr .layui-laypage-em {
    position: absolute;
    left: -1px;
    top: -1px;
    padding: 1px;
    width: 100%;
    height: 100%;
    background-color: #CC0001;
}
.layui-laypage .layui-laypage-curr em {
    position: relative;
    color: #fff;
}
.layui-laypage em {
    font-style: normal;
    color: #CC0001;
}
.layui-laypage a{
    color: #333333; 
}
.layui-laypage-em {
    border-radius: 2px;
}
.layui-laypage a, .layui-laypage button, .layui-laypage input, .layui-laypage select, .layui-laypage span {
    border: 1px solid #e2e2e2;
}
.layui-laypage>a:last-child, .layui-laypage>a:last-child em {
    border-radius: 0 2px 2px 0;
}

.layui-laypage>:last-child {
    margin-right: 30px!important;
}
.layui-laypage .layui-laypage-limits, .layui-laypage .layui-laypage-refresh {
    vertical-align: top;
}

.layui-laypage .layui-laypage-count, .layui-laypage .layui-laypage-limits, .layui-laypage .layui-laypage-refresh, .layui-laypage .layui-laypage-skip {
    margin-left: 10px;
    margin-right: 10px;
    padding: 0;
    border: none;
}
.layui-laypage select {
    height: 28px;
    width: 50px;
    border-radius: 2px;
    cursor: pointer;
}
button, input, optgroup, option, select, textarea {
    font-family: inherit;
    font-size: inherit;
    font-style: inherit;
    font-weight: inherit;
    outline: 0;
}
button, input, optgroup, option, select, textarea {
    font-family: inherit;
    font-size: inherit;
    font-style: inherit;
    font-weight: inherit;
    outline: 0;
}
.layui-laypage .layui-laypage-skip {
    height: 30px;
    line-height: 30px;
    color: #999;
}
.layui-laypage>:last-child {
    margin-right: 0!important;
}
.layui-laypage input {
    width: 40px;
    margin: 0 10px;
    padding: 0 3px;
    text-align: center;
}
.layui-laypage button, .layui-laypage input {
    height: 30px;
    line-height: 30px;
    border-radius: 2px;
    vertical-align: top;
    background-color: #fff;
    box-sizing: border-box;
}
.layui-flow-more a *, .layui-laypage input, .layui-table-view select[lay-ignore] {
    display: inline-block;
}
.layui-laypage a, .layui-laypage button, .layui-laypage input, .layui-laypage select, .layui-laypage span {
    border: 1px solid #e2e2e2;
}
.layui-laypage button {
    margin-left: 10px;
    padding: 0 6px;
    cursor: pointer;
}

.layui-laypage button, .layui-laypage input {
    height: 30px;
    line-height: 30px;
    border-radius: 2px;
    vertical-align: top;
    background-color: #fff;
    box-sizing: border-box;
}
.layui-laypage .red{
    border: none;
    color: #ff0000;
    margin: 0;
    padding: 0;
}